removed gl .c files
[EroBeats.git] / Djinn and Tonic - Erobeats / MessageBox.h
blob50f3573a0f13318bf8d4483f0bc7fcb1bdbba4de
1 #pragma once
2 #include <SDL\SDL.h>
4 #include<chrono>
6 #include "ResourceMaster.h"
7 #include "Fonts.h"
8 #include "Animation.h"
10 using namespace std;
12 class MessageBox
14 public:
15 MessageBox(int* scrn, ResourceMaster* resou, string mainMessage, string subMessage, string yesMessage, string noMessage);
16 ~MessageBox();
18 void boxLoop();
19 void processInput();
20 void update();
21 void play();
22 void render();
23 void close();
25 bool getResponse();
27 int* screen;
28 ResourceMaster* rsc;
29 Fonts* font;
30 Animation* outlineAnimation;
32 int x;
33 int y;
35 bool running;
36 bool mouseClicked;
37 bool hoverYes;
38 bool hoverNo;
40 bool response;
42 SDL_Rect rectMain;
43 SDL_Rect rectYes;
44 SDL_Rect rectNo;
45 SDL_Rect rectMessage;
46 SDL_Rect rectSubMessage;
48 SDL_Texture* textYes;
49 SDL_Texture* textNo;
50 SDL_Texture* textMessage;
51 SDL_Texture* textSubMessage;